package com.jihe.ehmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jihe.common.utils.PageUtils;
import com.jihe.ehmall.product.entity.CategoryBrandRelationEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Ʒ?Ʒ???????
 *
 * @author zyw
 * @email zyw@gmail.com
 * @date 2021-09-07 14:21:26
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void updateBrandNameByBrandId(@Param("brandId") Long brandId, @Param("name") String name);

    void saveCategoryBrand(CategoryBrandRelationEntity categoryBrandRelation);

    List<CategoryBrandRelationEntity> queryCatelogListByBrandId(Long brandId);
}

